<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
defined("IN_IA") || define("IN_IA", true);
$dir_path = __DIR__ . "/../../../../data/config.php";
if(file_exists($dir_path) && longbingIsWeiqin()) {
    require $dir_path;
} else {
    $config = [];
    $config["db"]["master"]["host"] = think\facade\Env::get("database.hostname", "127.0.0.1");
    $config["db"]["master"]["username"] = think\facade\Env::get("database.username", "root");
    $config["db"]["master"]["password"] = think\facade\Env::get("database.password", "");
    $config["db"]["master"]["port"] = think\facade\Env::get("database.hostport", "3306");
    $config["db"]["master"]["database"] = think\facade\Env::get("database.database", "");
    $config["db"]["master"]["charset"] = think\facade\Env::get("database.charset", "utf8mb4");
    $config["db"]["master"]["pconnect"] = 0;
    $config["db"]["master"]["tablepre"] = think\facade\Env::get("database.prefix", "ims");
}
return ["default" => think\facade\Env::get("database.driver", "mysql"), "connections" => ["mysql" => ["type" => "mysql", "hostname" => $config["db"]["master"]["host"], "database" => $config["db"]["master"]["database"], "username" => $config["db"]["master"]["username"], "password" => $config["db"]["master"]["password"], "hostport" => $config["db"]["master"]["port"], "dsn" => "", "params" => [], "charset" => "utf8mb4", "prefix" => $config["db"]["master"]["tablepre"], "debug" => think\facade\Env::get("APP_DEBUG", false), "trigger_sql" => think\facade\Env::get("APP_DEBUG", false), "deploy" => 0, "rw_separate" => false, "master_num" => 1, "slave_no" => "", "fields_strict" => true, "sql_explain" => false, "builder" => "", "query" => "", "break_reconnect" => false, "resultset_type" => "array", "usePrepared" => false, "prepared" => false]], "time_query_rule" => [], "auto_timestamp" => true];

?>